import request from '@/utils/request'

// 查询电子印章管理列表
export function listOaElectronicSignature(query) {
  return request({
    url: '/signature/oaElectronicSignature/list',
    method: 'get',
    params: query
  })
}

// 查询电子印章管理详细
export function getOaElectronicSignature(id) {
  return request({
    url: '/signature/oaElectronicSignature/' + id,
    method: 'get'
  })
}

// 保存电子印章管理
export function saveOaElectronicSignature(data) {
  return request({
    url: '/signature/oaElectronicSignature/save',
    method: 'post',
    data: data
  })
}

// 删除电子印章管理
export function delOaElectronicSignature(id) {
  return request({
    url: '/signature/oaElectronicSignature/' + id,
    method: 'delete'
  })
}

// 导出电子印章管理
export function exportOaElectronicSignature(query) {
  return request({
    url: '/signature/oaElectronicSignature/export',
    method: 'get',
    params: query
  })
}
